package com.steptime.jdbc;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class JdbcUtil {
    public static final String URL = "jdbc:mysql://49.233.91.68:3306/mysql_demo";
    public static final String USER = "root";
    public static final String PASSWORD = "Zztit123.";


    public static Connection getConnection(){
        try {
            return  DriverManager.getConnection(URL, USER, PASSWORD);
        } catch (SQLException e) {
            e.printStackTrace();
        }
        return null;
    }

    public static void close(){

    }

}
